package nsn.message.aggregator.model.provider;


import org.eclipse.ui.services.AbstractServiceFactory;
import org.eclipse.ui.services.IServiceLocator;

/**
 * 
 * @author Lukasz Nowak
 * @since 10-03-2011
 * 
 */
public class ModelServiceFactory extends AbstractServiceFactory {

	/**
	 *
	 */
	public ModelServiceFactory() {
		super();
	}

	/**
	 * 
	 * 
	 * @param serviceInterface
	 * @param parentLocator
	 * @param locator
	 * @return Object
	 * @see org.eclipse.ui.services.AbstractServiceFactory#create(java.lang.Class,
	 *      org.eclipse.ui.services.IServiceLocator,
	 *      org.eclipse.ui.services.IServiceLocator)
	 */
	@Override
	public Object create(
			@SuppressWarnings("rawtypes") final Class serviceInterface,
			final IServiceLocator parentLocator, final IServiceLocator locator) {
		return MessageAggregatorProvider.getInstance();
	}

}
